跳到主要内容

Megavox 巨型Vox

(megavox)=

大模型 Megavox

Megavoxes是一个大小为126x126x126 .vox 模型,目前每个地块Parcel限制为5个。

megavox-example.png

Editor 编辑器

Lantern_editor

URL

.vox 文件的 URL。

链接示例
`https://raw.githubusercontent.com/leicheng42/Voxels-Wiki/main/docs/static/img/magevoxels_monu1.vox`

(可选);使 megavox 成为可点击的链接。

链接示例:(链接到Voxels说明文档)
`https://voxels-wiki.readthedocs.io/`

脚本属性

::::{tab-set} :::{tab-item} url String; Links must be https:// and must finish with a vox extension .vox Has to link to a 126x126x126 vox model.

get()

feature.get('url')
// returns: "https://..."

set()

feature.set({'url':"https://www.myurl.com/file.vox"})

default

"" :::

:::{tab-item} link String; Links must be https://.

get()

feature.get('link')
// returns: "https://..."

set()

feature.set({'link':"https://www.myurl.com/"})

default

"" :::

:::{tab-item} collidable Boolean

get()

feature.get('collidable')
// returns: false

set()

feature.set({'collidable': true})

default

false :::

:::{tab-item} type String;

get()

feature.get('type')
/* or */
feature.type

// returns: 'megavox'

::: ::::